<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>3列居中</title>
    <link rel="stylesheet" href="three.css">
</head>
<body>
<div class="container">
    <div class="header">
        <ul>
          <li><a class="active" href="#">主页</a></li>
          <li><a href="#">新闻</a></li>
          <li><a href="#">联系</a></li>
          <li><a href="#">关于</a></li>
        </ul>
    </div>
    <div class="main">
        <div class="left">
            <ul>
              <li><a class="active" href="#">主页</a></li>
              <li><a href="#">新闻</a></li>
              <li><a href="#">联系</a></li>
              <li><a href="#">关于</a></li>
            </ul>
        </div>
        <div class="right">right</div>
        <div class="center">
            center center center center
        </div>
    </div>
    <div class="footer">footer</div>
</div>
</body>
</html>